package myjava.k_annotation.config;

/**
 * @Classname : DataSource
 * @Description : 数据源
 * @Author : cty
 * @Date 2023/4/1 23:47
 */


public class DataSource {
    // create database if not exists my_db default character set utf8mb4;
    // 高版本（如MySQL 8）需要指定useSSL，否则会报告异常
    public static final String URL = "jdbc:mysql://localhost:3306/my_db?useUnicode=true&characterEncoding=utf-8&serverTimezone=GMT%2B8&useSSL=false";
    public static final String USER = "root";
    public static final String PASSWORD = "12345678901";
}
